package com.xiaoyi.equery;

import java.io.Serializable;
import java.util.Map;

/**
 * @author xiaoyi
 * @version 1.0.0
 * @createTime 2023-02-18 21:33:00
 */
public class ParamsModel  implements Serializable {
    private Long moduleId;
    private Integer size;
    private Integer page;
    private Integer limitSize;
    private String orderBy;
    private Map<String,Object> whereCondition;
    private Map<String,Object> likeCondition;
    private Map<String,Object> betweenAndCondition;
    private Map<String,Object> eqCondition;
    private Map<String,Object> unqCondition;
    private Map<String,Object> geCondition;
    private Map<String,Object> gtCondition;
    private Map<String,Object> leCondition;
    private Map<String,Object> ltCondition;
    private Map<String,Object> inCondition;



    public ParamsModel() {
    }

    public ParamsModel(Integer size, Integer page, Map<String, Object> whereCondition) {
        this.size = size;
        this.page = page;
        this.whereCondition = whereCondition;
    }


    public Map<String, Object> getBetweenAndCondition() {
        return betweenAndCondition;
    }

    public void setBetweenAndCondition(Map<String, Object> betweenAndCondition) {
        this.betweenAndCondition = betweenAndCondition;
    }

    public Map<String, Object> getEqCondition() {
        return eqCondition;
    }

    public void setEqCondition(Map<String, Object> eqCondition) {
        this.eqCondition = eqCondition;
    }

    public Map<String, Object> getUnqCondition() {
        return unqCondition;
    }

    public void setUnqCondition(Map<String, Object> unqCondition) {
        this.unqCondition = unqCondition;
    }

    public Map<String, Object> getGeCondition() {
        return geCondition;
    }

    public void setGeCondition(Map<String, Object> geCondition) {
        this.geCondition = geCondition;
    }

    public Map<String, Object> getGtCondition() {
        return gtCondition;
    }

    public void setGtCondition(Map<String, Object> gtCondition) {
        this.gtCondition = gtCondition;
    }

    public Map<String, Object> getLeCondition() {
        return leCondition;
    }

    public void setLeCondition(Map<String, Object> leCondition) {
        this.leCondition = leCondition;
    }

    public Map<String, Object> getLtCondition() {
        return ltCondition;
    }

    public void setLtCondition(Map<String, Object> ltCondition) {
        this.ltCondition = ltCondition;
    }

    public Map<String, Object> getInCondition() {
        return inCondition;
    }

    public void setInCondition(Map<String, Object> inCondition) {
        this.inCondition = inCondition;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Map<String, Object> getWhereCondition() {
        return whereCondition;
    }

    public void setWhereCondition(Map<String, Object> whereCondition) {
        this.whereCondition = whereCondition;
    }
    public Integer getLimitSize() {
        return limitSize;
    }

    public void setLimitSize(Integer limitSize) {
        this.limitSize = limitSize;
    }

    public Map<String, Object> getLikeCondition() {
        return likeCondition;
    }

    public void setLikeCondition(Map<String, Object> likeCondition) {
        this.likeCondition = likeCondition;
    }

    @Override
    public String toString() {
        return "ParamsModel{" +
                "size=" + size +
                ", page=" + page +
                ", whereCondition=" + whereCondition +
                ", limitSize=" + limitSize +
                '}';
    }
}
